package org.example.mapper;

import org.apache.ibatis.annotations.Param;
import org.example.bean.Cake;
import org.example.bean.CakeCatalog;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CakeMapper {
    /**
     * 查询所有的蛋糕信息
     * @return
     */
    List<Cake> finAll();


    void delcakeid(@Param("id") int id);

}
